﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WFASmartketing.REPORTES
{
    public partial class ComprobanteCompra : Form
    {
        private int pk = 0;
        public ComprobanteCompra(int PK)
        {
            InitializeComponent();
            this.pk = PK;
        }

        private void ComprobanteCompra_Load(object sender, EventArgs e)
        {
  
            this.compra_ComprobanteCompraTableAdapter.Fill(this.ComprasDS.compra_ComprobanteCompra, this.pk);
          this.reportViewer1.RefreshReport();

        }

        private void reportViewer1_Load(object sender, EventArgs e)
        {

        }
    }
}
